package study.mybatis.database.cpool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

public interface UserBaseMapper extends BaseMapper<UserBaseEO> {

    @Select("select connection_id() connection_id, " +
            "       ub_id, " +
            "       ub_login_name, " +
            "       ub_login_pwd " +
            "from user_base " +
            "where ub_id= #{ubId}")
    UserBaseEO get(Long ubId);
}
